<?php include 'header-inc.php'; ?>

    <div id="inner-wrap">
        <div id="sidebar">
<?php include 'sidebar-inc.php'; ?>

        </div>
        <div id="content-box">
            <div class="inner-box">
                <div class="cmd">
                    <ul>
                        <li><a href="<?php echo $this->_url('user', 'group', array(array(FLEA::getAppInf( 'columnAccessor' )=>$_GET[FLEA::getAppInf( 'columnAccessor' )]))); ?>">返回列表</a></li>
                    </ul>
                </div>
                <div class="formbox box">
                <form method="post" action="<?php echo $this->_url('user', 'savegroup', array(array(FLEA::getAppInf( 'columnAccessor' )=>$_GET[FLEA::getAppInf( 'columnAccessor' )]))); ?>">
                    <h3>用户组</h3>
                    <table>
                        <tr>
                            <th>名称：</th>
                            <td><input type="text" id="name" name="name" value="<?php echo h($data['row']['name']); ?>" /></td>
                        </tr>
                        <tr>
                            <th>描述：</th>
                            <td><input type="text" id="description" name="description" value="<?php echo h($data['row']['description']); ?>" /></td>
                        </tr>
                        <tr>
                            <th></th>
                            <td><input type="submit" value="保 存" /> <input type="reset" value="重 置" /></td>
                        </tr>
                    </table>
                    <input type="hidden" id="group_id" name="group_id" value="<?php echo $data['row']['group_id']; ?>" />
                    <input type="hidden" id="site_id" name="site_id" value="<?php echo $_GET['site']; ?>" />
                </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>